home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3082 / 3082.xpi / chrome / content / tabbarOverlay.xml < prev    next >
Extensible Markup Language  |  2010-01-13  |  2KB  |  56 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!DOCTYPE bindings [
  4.  
  5. <!ENTITY % tabBrowserDTD SYSTEM "chrome://browser/locale/tabbrowser.dtd">
  6. %tabBrowserDTD;
  7. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  8. %globalDTD;
  9. <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
  10. %browserDTD;
  11. <!ENTITY % undoclosetabDTD SYSTEM "chrome://undoclosedtabsbutton/locale/prefwindow.dtd">%undoclosetabDTD;]>
  12.  
  13. <bindings id="uctb-tab-button"
  14.           xmlns="http://www.mozilla.org/xbl"
  15.           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.           xmlns:xbl="http://www.mozilla.org/xbl">
  17.  
  18.    <binding id="tabbrowser-tabs"
  19.           extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tabs">
  20.  
  21.     <content>
  22.       <xul:stack flex="1" class="tabs-stack">
  23.         <xul:vbox>
  24.           <xul:spacer flex="1"/>
  25.           <xul:hbox class="tabs-bottom" align="center"/>
  26.         </xul:vbox>
  27.         <xul:hbox xbl:inherits="overflow" class="tabs-container">
  28.           <xul:toolbarbutton class="uctb-tab-button"
  29.                              tooltiptext="&undolastclosedtab.label;"
  30.                              oncommand="undoCloseTab();"/>
  31.           <xul:arrowscrollbox anonid="arrowscrollbox" orient="horizontal" flex="1"
  32.                               style="min-width: 1px;"
  33.                               clicktoscroll="true"
  34.                               class="tabbrowser-arrowscrollbox">
  35.             <children includes="tab"/>
  36.             <children/>
  37.             <xul:toolbarbutton class="tabs-newtab-button"
  38.                                command="cmd_newNavigatorTab"
  39.                                tooltiptext="&newTabButton.tooltip;"/>
  40.           </xul:arrowscrollbox>
  41.           <xul:toolbarbutton class="tabs-newtab-button" anonid="newtab-button"
  42.                              command="cmd_newNavigatorTab"
  43.                              tooltiptext="&newTabButton.tooltip;"/>
  44.           <xul:toolbarbutton class="tabs-alltabs-button" anonid="alltabs-button"
  45.                              type="menu"
  46.                              tooltiptext="&listAllTabs.label;">
  47.             <xul:menupopup class="tabs-alltabs-popup" anonid="alltabs-popup"
  48.                            position="after_end"/>
  49.           </xul:toolbarbutton>
  50.           <xul:toolbarbutton anonid="tabs-closebutton"
  51.                              class="close-button tabs-closebutton"/>
  52.         </xul:hbox>
  53.       </xul:stack>
  54.     </content>
  55. </binding>
  56. </bindings>